package com.sdy.resdir.biz.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgj
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="RequirementReply对象", description="")
public class RequirementInfo extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ApiModelProperty(value = " ")
    @TableId
    private Integer id;

    /**
     * 需求名称
     */
    @ApiModelProperty(value = "需求名称")
    private String requirementName;

    /**
     * 需求类型(1.数据需求 2.问题反馈)
     */
    @ApiModelProperty(value = "需求类型(1.数据需求 2.问题反馈)")
    private Integer requirementType;

    /**
     * 需求状态(1.待回复 2.已回复)
     */
    @ApiModelProperty(value = "需求状态(1.待回复 2.已回复)")
    private Integer requirementState;

    /**
     * 申请时间
     */
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date applyTime;

    /**
     * 申请详细说明
     */
    @ApiModelProperty(value = "申请详细说明")
    private String instructionsDetail;

    /**
     * 回复部门id
     */
    @ApiModelProperty(value = "回复部门id")
    private Integer replyDeptId;

    /**
     * 回复部门名称
     */
    @ApiModelProperty(value = "回复部门名称")
    private String replyDeptName;

    /**
     * 回复内容
     */
    @ApiModelProperty(value = "回复内容")
    private String replyInfo;

    /**
     * 需求申请部门id
     */
    @ApiModelProperty(value = "需求申请部门id")
    private Integer requireDeptId;

    /**
     * 需求申请部门名称
     */
    @ApiModelProperty(value = "需求申请部门名称")
    private String requireDeptName;


}
